package com.feign.cart;


import com.feign.vo.CartInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;

@FeignClient(value = "mall-cart")
public interface CartFeignService {


    @GetMapping("cart/checkedCart")
    List<CartInfo> getCheckedCart(@RequestHeader(value = "token") String token);

}
